-
Notifications
You must be signed in to change notification settings - Fork 11
Add support for optimistic writes #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
thruflo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super cool to see this. I've left a few comments about the documentation. I'm happy to do a pass on it if useful but perhaps we can discuss first.
remove comments
move docs for plug_opts to top-level
so we can get custom errors
@magnetised I've done a pass on the docs. I'm afraid that it does include renaming preflight to check and Changeset to validate. Give it a read with an open mind -- for me this is far clearer naming. https://funny-sable-3d7d09.netlify.app/readme.html https://funny-sable-3d7d09.netlify.app/phoenix.sync.writer --------- Co-authored-by: Garry Hill <[email protected]>
which applies the transaction and returns the txid
and document the behaviour
also expose `parse_transaction/2`
|
@magnetised I've had a pass on the docs as per https://funny-sable-3d7d09.netlify.app / https://funny-sable-3d7d09.netlify.app/phoenix.sync.writer Let me know any feedback. Otherwise are we close to being ready to merge this? |
|
@thruflo looks good! think we might be there |
|
Merged -- we can still fine tune on other PRs. E.g.: match the TanStack/db rename. |
|
Presumably we should do a release -- perhaps after that. |
Specifically supporting https://github.com/TanStack/optimistic